package com.fjec.devops.feign.fallback;

import com.fjec.common.enums.EnumSysCode;
import com.fjec.common.exception.BizException;
import com.fjec.common.jxls.BreakfastExcel;
import com.fjec.common.jxls.DataSixUpload;
import com.fjec.common.view.RpcReturnPage;
import com.fjec.devops.entity.InfoMarket;
import com.fjec.devops.feign.MarketClient;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public class MarketClientFallback implements MarketClient {
    @Override
    public Map<String, Object> getMarkets(int page, int limit) {
        return null;
    }

    @Override
    public Map<String, Object> getMarketByMarkCode(int markCode) {
        return null;
    }

    @Override
    public int saveOrUpdate(InfoMarket infoMarket, String markPic, String markMapPic) {
        return 0;
    }

    @Override
    public Map<String, Object> getBusinessesOfAllTypesByConditions(Integer searchBy, String title, Integer busiType, Integer markCode, String startTime, String endTime, Long page, Long limit) {
        return null;
    }

    @Override
    public Map<String, Object> getBusinessInfo(Long busiId, Integer busiType) {
        return null;
    }

    @Override
    public Map<String, Object> getOrdersByConditions(Integer searchBy, String title, Integer busiType, Integer markCode, Integer orderType, Integer orderStatus, String startTime, String endTime, Long page, Long limit) {
        return null;
    }

    @Override
    public Map<String, Object> getOrdersByBusiId(Long busiId, Long page, Long limit) {
        return null;
    }

    @Override
    public Map<String, Object> getOrderDetailById(Long id) {
        return null;
    }

    @Override
    public Map<String, Object> getDepoInfoByConditions(Integer searchBy, String title, Integer busiType, Integer markCode, Integer depoStatus, Integer timedBy, String startTime, String endTime, Long page, Long limit) {
        return null;
    }

    @Override
    public List<Map<String, Object>> statFarmerData(Integer days) {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public List<Map<String, Object>> statSortingPlantData(Integer days) {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public List<Map<String, Object>> statMaterialData(Integer days) {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public List<Map<String, Object>> statPkgPlantData(Integer days) {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public List<Map<String, Object>> statPurchaseData(Integer days) {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public List<Map<String, Object>> statAllPersonalData(Integer days) {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public List<Map<String, Object>> statPersonalData(Integer days) {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public List<Map<String, Object>> statSubOrderNumData(Integer days) {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public List<Map<String, Object>> getAllMarket() {
        throw new BizException(EnumSysCode.ERR_3001.getCode(), EnumSysCode.ERR_3001.getMsg());
    }

    @Override
    public Map<String, Object> getTradingsByConditions(Integer searchBy, String title, Integer orderType, Integer sellerType, Integer buyerType, Long page, Long limit) {
        return null;
    }

    @Override
    public Map<String, Object> getOrderComplaintsByConditions(Integer searchBy, String title, Integer busiType, Integer markCode, Integer orderType, Integer orderStatus, String startTime, String endTime, Long page, Long limit) {
        return null;
    }

    @Override
    public int handleComplaint(Long orderId, Long subOrderId, Long complaintId, Integer handleType, String amount, String complaintText) {
        return -1;
    }

    @Override
    public List<Map<String, Object>> getOffLineRegList(String dateTime) {
        return null;
    }

    @Override
    public Map<String, Object> updateOffLineRegResult(List<DataSixUpload> dataList) {
        return null;
    }

    @Override
    public boolean updateMarketRotation(Integer markCode, List<Map<String, Object>> marketRotation) {
        return false;
    }

    @Override
    public Map<String, Object> getAccountInfo(Long busiId) {
        return null;
    }

    @Override
    public int refundDeposit(Long busiId, Integer busiType) {
        return -1;
    }

    @Override
    public RpcReturnPage<Map<String, Object>> rpcGetOrderForBreakfast(long current, long size, Long shopId, Long subOrderId, Integer busiType, Integer orderType, Integer orderStatus, String startTime, String endTime) {
        return null;
    }

    @Override
    public List<BreakfastExcel> rpcGetOrderForBreakfastExcel(Long shopId, Integer busiType, String date) {
        return null;
    }

}
